﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin_panel/Admin.master" AutoEventWireup="true" CodeFile="Thongkechitiet.aspx.cs" Inherits="Admin_panel_Thongkechitiet" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Shortcut" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <link href="../css/table.css" rel="stylesheet" />
    <!-- Start Content Box -->
    <title>Thống kê chi tiết</title>
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="content-box">
                <!-- Start Content Box -->
                <div class="content-box-header">
                    <h3 style="cursor: s-resize;">Thống kê chi tiết</h3>
                    <div class="clear"></div>
                </div>
                <center>
            <br />
                        <h5>Chọn năm báo cáo:  </h5>
                                <asp:DropDownList ID="dropnam" runat="server"  Width="191px" AutoPostBack="True" OnSelectedIndexChanged="dropnam_SelectedIndexChanged1"  >
                                </asp:DropDownList>
                  

              <table id="list" style="width:98%;margin-top:15px;text-align:center;"" >
                        <tr >
                            <th style="width: 165px">Mã đơn vị</th>
                            <th>Tên đơn vị</th>
                            <th>Số điện thoại</th>
                            <th>Email</th>
                            <th>Xem báo cáo</th>
                        </tr>
                 
                   <%
                       
                       if (listnn != null)
                       {
                           foreach (var i in listnn)
                           {
                            
                         %>
                    
                        <tr>
                            <td style="width: 165px"><%= i.MADV %></td>
                            <td><%= i.TENDV %></td>
                            <td><%= i.SDT %></td>
                            <td><%= i.EMAIL %></td>
                            
                            <td style="text-align:center;">
                                <a href="ThongKeChiTiet/frmPhuluc02.aspx?id=<%=i.MADV.Trim() %>&nam=<%=dropnam.SelectedItem.ToString().Trim() %>" style="color:green;">Chi tiết</a></td>
                        </tr>
                      
                  <%
                            
                           }
                       } %>

                    </table>
            <br />
                    </center>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

